package cn.kgc.hotel.entity;

import lombok.Getter;
import lombok.Setter;
import org.apache.ibatis.type.Alias;
import org.springframework.stereotype.Component;

@Component
@Setter
@Getter
@Alias("Customer")
//住客实体类
public class Customer {
    //住客ID
    private Integer customerId;
    //住客姓名
    private String name;
    //性别
    private char sex;
    //电话
    private String tel;
    //身份证号
    private String idNum;
    //邮箱
    private String email;
}
